home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / cryptsetup / checks / xfs < prev   
Text File  |  2009-10-14  |  210b  |  11 lines

  1. #!/bin/sh
  2. #thanks Martin Steigerwald <ms@teamix.de>
  3.  
  4. ulimit -c 0
  5. if /usr/sbin/xfs_admin -l $1 2>/dev/null 1>&2; then
  6.   exit 0
  7. else
  8.   echo " - The device $1 does not contain a valid XFS filesystem."
  9.   exit 1
  10. fi
  11.